﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ParticipacaoTrilha.aspx.cs" Inherits="Sebrae.Academico.Trilhas.WebForms.Relatorios.ParticipacaoTrilha" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 196px;
            text-align: right;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <table style="width: 100%">
        <tr><td class="style1">
            <asp:Label ID="Label1" runat="server" Text="Trilha"></asp:Label>
            </td><td>
                <asp:DropDownList ID="ddlTrilha" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlTrilhaNivel_SelectedIndexChanged">
                </asp:DropDownList>
            </td></tr>
        <tr><td class="style1">
            <asp:Label ID="Label2" runat="server" Text="Trilha Nível"></asp:Label>
            </td><td>
                <asp:DropDownList ID="ddlTrilhaNivel" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlTrilhaNivel_SelectedIndexChanged">
                </asp:DropDownList>
            </td></tr>
        <tr><td colspan = "2">
            &nbsp;</td></tr>
        </table>
    
    </div>
    <br />
    <div>
    
        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
            Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Height="" 
            Width="">
            <localreport reportpath="Relatorios\rptParticipacaoTrilha.rdlc">
                <DataSources>
                    <rsweb:ReportDataSource DataSourceId="dsParticipacaoItem" 
                        Name="dsParticipacaoTrilha" />
                </DataSources>
            </localreport>
        </rsweb:ReportViewer>
    
        <asp:SqlDataSource ID="dsParticipacaoItem" runat="server" 
            ConnectionString="<%$ ConnectionStrings:cnxSebraeAcademico %>" 
            SelectCommand="SELECT * FROM [vwParticipacaoTrilha]"></asp:SqlDataSource>
    
    </div>
    </form>
</body>
</html>
